//
//  SystemSelectPhotoManager.h
//  PhotoManager
//
//  Created by Coollang on 2017/9/1.
//  Copyright © 2017年 Coollang-YF. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    kSystemDeflaut,       // 默认样式
    //kPhotoEditCircel,     // 圆形
    //kPhotoEditRectangle,  // 方形
} kPhotoEditCaseType;


typedef  void(^SelecteImageCallBlock)(UIImage *selectImage,NSError *error);

@interface SystemSelectPhotoManager : NSObject

/** 编辑框的类型 */
@property (nonatomic, assign) kPhotoEditCaseType editCaseType;


// 没有做成单例，用的时候记得强引用
+ (instancetype)selectPhotoManagerWithEditCaseType:(kPhotoEditCaseType)type;

/*
 * soureType:偶数-相机拍照,奇数-相册
 */
- (void)takePhotoBySource:(NSInteger)soureType canEdit:(BOOL)edit parentViewController:(UIViewController *)controller selectCallBlock:(SelecteImageCallBlock)callBlock;


/** 图片是否是否需要剪裁 */
//@property (nonatomic, assign) BOOL needCutImage;

/** 图片剪裁的范围:参考范围为整个屏幕, origin:为（0，0）则默认裁剪中间size的大小*/
//@property (nonatomic, assign)CGRect imageCutRect;

/** 编辑控制器的的Title */
//@property (nonatomic, strong) NSString *editVcTitle;

@end
